<!-- 在线预订 -->
<template>
    <div class="page-box h100 display-flex czbj">
        <p class="title-label">留言列表</p>
        <div class="mt10">
            <dxtable :isshowXz="false" :headBtn="headBtn" :dataJson="dataJson" :portUrl="portUrl" :qx="qx" ref="databale"></dxtable>
        </div>
    </div>
</template>
<script lang='ts' setup>
import dxtable from "./../../components/util/dxtable.vue";
import sort from "./../../components/util/sort.vue";
import { dxget, dxpost, qurl, hf } from "./../../util/index";
import { h, ref, reactive } from "vue";
const props = defineProps({
    pup: { type: String },
});
let headBtn = [];
const databale = ref();
const initeer = () => {
    databale.value.initDataExpose();
};
const emit = defineEmits(["callBack"]);
// 弹窗公用该列表
let dataJson = reactive([

 
    {
        title: "产品名称",
        key: "product",
        search: true, // 是否在搜索栏展示
    }, {
        title: "订购数量",
        key: "num",
        search: true, // 是否在搜索栏展示
    },{
        title: "联系人",
        key: "name",
        search: true, // 是否在搜索栏展示
    },{
        title: "公司名称",
        key: "company",
        search: true, // 是否在搜索栏展示
    },{
        title: "公司地址",
        key: "add",
        search: true, // 是否在搜索栏展示
    },
    
    {
        title: "联系电话",
        key: "tel",
        search: true, // 是否在搜索栏展示
    },
    {
        title: "传真",
        key: "fax",
        search: true, // 是否在搜索栏展示
    },
    {
        title: "邮箱",
        key: "email",
        search: true, // 是否在搜索栏展示
    },
    
    {
        title: "详细内容",
        key: "contents",
    },
    
    {
        title: "预订时间",
        key: "addTime",
        width: "200",
        type: "daterange",
    },
]);
const Userid =localStorage.id
let portUrl = "BOTTEGA/botonlineordering?roleid="+Userid;
const qx = {
    DeletePermissionID: "boonlineorderingdel", //删除
    EditPermissionIdentifier: "boonlineorderingbj", // 编辑
    NewPermissionIdentifier: "boonlineorderingxz", // 新建
    ViewPermissionID: "boonlineorderingck", // 查看
};
</script>
  
  
  